home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / chat / reflect.000 / reflect / 3.0b3 / refmon.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-11  |  1.7 KB  |  41 lines

  1. /*
  2.  
  3. Copyright 1993, 1994, Cornell University
  4.  
  5. Cornell hereby grants permission to use, copy, modify, and distribute this program for any purpose 
  6. and without fee, provided that these copyright and permission notices appear on all copies and 
  7. supporting documentation, the name of Cornell not be used in advertising or publicity pertaining 
  8. to distribution of the program without specific prior permission, notice be given in supporting 
  9. documentation that copying and distribution is by permission of Cornell.  CORNELL MAKES NO 
  10. REPRESENTATIONS OR WARRANTEES, EXPRESS OR IMPLIED.  By way of example, but not limitation, 
  11. CORNELL MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR 
  12. PURPOSE OR THAT THE USE OF THIS SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, 
  13. TRADEMARKS, OR OTHER RIGHTS.  Cornell shall not be held liable for any liability with respect to 
  14. any claim by the user or any other party arising from use of the program.
  15.  
  16. This material is partially based on work sponsored by the National Science Foundation under Cooperative 
  17. Agreement No. NCR-9318337.  The government has certain rights in this material.
  18.  
  19. */
  20.  
  21.  
  22.  
  23. #define MAXDATALEN 8096 
  24. #define MINREFPKT   4
  25.  
  26. /*  monitor requests        */
  27.  
  28. #define VERSION     1            /* return the version */
  29. #define WHO             2            /* return conference participants */
  30. #define TERM             3            /* terminate the reflector        */
  31. #define PARAM             4            /* return the paramater list      */
  32. #define MAVEN           5                       /* return the MAVEN client list   */
  33. #define UPTIME          6                       /* return the start time          */
  34.  
  35. typedef struct RefConPkt
  36. {
  37.    short msg_type;
  38.    short msg_len;
  39.    char  msg_data[MAXDATALEN];
  40. } RefConPkt;
  41.